package com.hncboy.chatgpt.front.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hncboy.chatgpt.base.domain.entity.ChatOrderDO;
import com.hncboy.chatgpt.base.domain.entity.ChatRoomDO;
import com.hncboy.chatgpt.front.domain.vo.ChatOrderVO;

import java.util.List;

/**
 * @author hncboy
 * @date 2023/3/22 20:04
 * 订单相关业务
 */
public interface ChatOrderService extends IService<ChatOrderDO> {

    int createOrder(ChatOrderVO chatOrderVO);

    int modifyOrder(Long id);

    ChatOrderVO closeOrder(List<Integer> ids);

}
